package com.xinda.admin.dao;

import java.util.List;
import java.util.Map;

import com.xinda.admin.pojo.Member;
import com.xinda.admin.pojo.Region;
import com.xinda.admin.vo.OrderEditVo;

public interface MemberMapper {
	/*已停用客户*/
	List<Member>selectStatusMembers();
	/*用户登录记录*/
	List<Member>selectRecordMembers();
	/*添加新用户*/
	void insertMember(Member member);
	/*删除用户*/
	void deletememberById(Integer id);
	/*批量删除用户*/
	void deletemembersById(String[] id);
	/*停用用户*/
	void stopMember(int id);
	/*启用用户*/
	void startMember(int id);
	/*查询所有用户*/
	List<Member> selectAllMember(Map<String, String> conditionsMap);
	/*查询用户数量*/
	Integer countMember();
	/*用户查询*/
	Member selectmemberShow(int id);
	/*用户订单查询*/
	List<OrderEditVo> selectOrderMember(int id);
	/*地区*/           
	List<Region> memberprovince(int parent_id);
	
}